import { request } from "../utils/request";
/**
 * 获取验证码
 */
export function sendMessageCode(data) {
  return new Promise(res => {
    res(request('/msgCodeController/sendMessageCode','POST',data))
  })
}
/**
 * 图片验证码验证
 */
export function imageCodeVerify(data) {
  return new Promise(res => {
    res(request('/msgCodeController/imageCodeVerify','POST',data))
  })
}